getOrNull

fun getOrNull(): R?

Gets value of this Right or null if this is Left.

Return

Value of this Right or null.